//
//  CycleAlertPresentationController.h
//  ProjectAlertView
//
//  Created by zl on 2017/11/9.
//  Copyright © 2017年 zl. All rights reserved.
//  弹出视图的样式修改/事件点击/尺寸

#import <UIKit/UIKit.h>
//typedef void (void)
@interface CycleAlertPresentationController : UIPresentationController

/// 是否隐藏背景
@property (nonatomic , assign) BOOL hideCoverView;

/// 背景View透明度
@property (nonatomic , assign) CGFloat coverViewAlpha;

/// 背景View背景色
@property (nonatomic) UIColor *coverViewBgColor;

/// 设置尺寸
@property (nonatomic) CGRect presentedFrame;

/// coverView背景视图
@property (nonatomic , strong) UIView   *coverView;

/// 背景灰色是否可以点击
@property (nonatomic, assign) BOOL canClickBgView;

/// 设置弹出视图圆角
@property (nonatomic , assign) double cornerRadius;

///退出弹出视图
- (void)dismiss;

///退出弹出视图,view随便传
- (void)dismiss:(UIView *)view;

///给弹出视图某个方向的角切圆角
- (void)cycle_cornerByRoundingCorners:(UIRectCorner)corners cornerRadius:(CGFloat)cornerRadius;



@end
